// pages/wxs/wxs.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    price: "23.43443443",
    dateTime: 1600088932,
    titles: ['衣服', '鞋子', '裤子']
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  handletouchstart() {
    console.log('handletouchstart');
  },
  handletouchmove() {
    console.log('handletouchmove');
  },
  handletouchend(event) {
    console.log('handletouchend', event);
  },
  handletap() {
    console.log('handletap');
  },
  handlelongpress() {
    console.log('handlelongpress');
  },
  handleEventClick(event) {
    console.log(event);
  },
  handleInner(event) {
    console.log(event);
  },
  handleOuter(event) {
    console.log(event);
  },
  handleItemClick(event) {
    console.log(event);
    const {item2, index} = event.currentTarget.dataset;
    console.log(item2, index);
  },
  /* 事件冒泡和事件捕获 */
  capture1() {
    console.log("capture1");
  },
  capture2() {
    console.log("capture2");
  },
  capture3() {
    console.log("capture3");
  },
  bind1() {
    console.log("bind1");
  },
  bind2() {
    console.log("bind2");
  },
  bind3() {
    console.log("bind3");
  },

})
